home *** CD-ROM | disk | FTP | other *** search
- /*
- * library-specific stuff
- */
- #ifndef _LIB_H
- #define _LIB_H
-
- #ifndef _COMPILER_H
- #include <compiler.h>
- #endif
-
- #include <time.h> /* for time_t */
-
- /* filename mapping function type */
- #ifndef __FNMAP
- #define __FNMAP
- #ifdef __STDC__
- typedef void (*fnmapfunc_t)(const char *, char *);
- #else
- typedef void (*fnmapfunc_t)();
- #endif
- #endif
-
- int _unx2dos __PROTO((const char *, char *));
- int _dos2unx __PROTO((const char *, char *));
- int unx2dos __PROTO((const char *, char *));
- int dos2unx __PROTO((const char *, char *));
- int spawnve __PROTO((int, char *, char **, char **));
- int console_input_status __PROTO((int));
- unsigned int console_read_byte __PROTO((int));
- void console_write_byte __PROTO((int, int));
- int dos2unx __PROTO((const char *, char *));
- time_t dostime __PROTO((time_t));
- char * findfile __PROTO((char *, char *, char **));
- char * _itoa __PROTO((int, char *, int));
- char * _ltoa __PROTO((long, char *, int));
- char * _ultoa __PROTO((unsigned long, char *, int));
- time_t unixtime __PROTO((unsigned int, unsigned int));
- int unx2dos __PROTO((const char *, char *));
- void fnmapfunc __PROTO((fnmapfunc_t u2dos, fnmapfunc_t dos2u));
- long get_sysvar __PROTO((void *var));
- void set_sysvar_to_long __PROTO((void *var, long val));
-
- __EXTERN __EXITING __exit __PROTO((long status));
- __EXTERN char *_itoa __PROTO((int, char *, int));
-
- #endif /* _LIB_H */
-
-
-
-